#include <iostream>
using namespace std;

long long Sum(int x) {
    if (x == 0)
    {
        return 0;
    }
    return x+Sum(x-1);
}

int main() {
    int N;
    cin >> N;
    int sum = Sum(N);
    cout << sum;
    
    return 0;
}